package cn.com.cmbc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class FileDTO {
    private String name;
    private long lastModifiedTime;
    private String type;
    private String suffix;
    private long size;
    private String absolutePath;
    private String rowkeyId;

//    public String toJSON() {
//        return "{" +
//                "\"name\":\"" + name + '\"' +
//                ", \"lastModifiedTime\":" + lastModifiedTime +
//                ", \"type\":\"" + type + '\"' +
//                ", \"suffix\":\"" + suffix + '\"' +
//                ", \"size\":" + size +
//                ", \"absolutePath\":\"" + absolutePath + '\"' +
//                ", \"rowkeyId\":\"" + rowkeyId + '\"' +
//                '}';
//    }
}
